package com.p2p;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

//启动类
@SpringBootApplication
//@MapperScan("com.p2p.mapper")
@Slf4j
//开启缓存
@EnableCaching
public class App {
    public static void main(String[] args) throws Exception {
        log.info("--------------------------进入程序入口-------------------------------");
        SpringApplication.run(App.class, args);
    }
}
